#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

char* my_strcpy(char* dest, char* src)
{
	char* start = dest;
	while (*dest++ = *src++)
	{
		;
	}
	return start;
}

int main()
{
	char arr1[20] = { 0 };
	char arr2[] = "ambition";

	printf("%s",my_strcpy(arr1,arr2));
	
	return 0;
}